<?php 
	echo "
	<div class='lp1 pad15' style = 'background: none; '>
		<div class='bpad15' style = 'font-size: 13px; '>
			<div class = 'pageHeading'>".Language::Get('News')."</div>";
	
	//news list
	foreach ($this->data['news'] as $new)
	{
		$title = $new['name_'.strtolower(Language::getShortName())];
		$text = $new['text_'.strtolower(Language::getShortName())];
		
		echo "	<h4 style = 'white-space: nowrap; margin-bottom: 5px; '>$title <span style = 'font-weight: 400; font-size: 11px; '>({$new['date']})</span></h4>
     			<p style = 'background: url(/app/themes/default/img/lp1.png) repeat-x scroll center bottom transparent; padding-bottom: 10px; '>$text</p>";
				//XHTML::Anchor('/chats/room/'.$new['id'], $new['name']);
	}	

	echo "
		</div>
	</div>";

	//pagination
	echo "<div style = 'padding: 15px; '>".HtmlsHelper::Pagination($this->data['num_rows'])."</div>";

?>